import React, { Component } from 'react';
// 这个组件会报错！！！！！
class Error extends Component {
  render() {
    return (
      <div>
        {
          this.state.list.map(item => {
            return <p key={item}></p>
          })
        }
      </div>
    );
  }
}

export default Error;
